# -*- coding: UTF-8 -*-

from datetime import datetime
from apscheduler.schedulers.blocking import BlockingScheduler

wakeup=BlockingScheduler()
@wakeup.scheduled_job('interval', days=1)
def clock():
    print(datetime.now().strftime('%Y %m %d'))
    print('起床啦')

# wakeup.add_job(clock,'interval',days = 1)
wakeup.start()
